package com.hang.model.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class DepartmentModelReq {
    @ApiModelProperty(value = "部门id")
    private Long deptId;

    @ApiModelProperty(value = "部门名",required = true)
    @NotBlank
    private String deptName;

    @ApiModelProperty(value = "部门号",required = true)
    @NotBlank
    private String deptNo;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "部门人数")
    private Integer counts;

    @ApiModelProperty(value = "管理员id",required = true)
    @NotBlank
    private String managerId;

    @ApiModelProperty(value = "管理员姓名",required = true)
    @NotBlank
    private String managerName;
}
